-
Notifications
You must be signed in to change notification settings - Fork 6.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[qtbase] Add support for building with OpenGL ES 3.0 #36407
Conversation
cb630ec
to
595cffd
Compare
This feature passed with following triplets:
|
"name": "qtbase", | ||
"default-features": false, | ||
"features": [ | ||
"gles2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You mention ios in the description, I had troubles building for ios with gles2 in the past (see https://codereview.qt-project.org/c/qt/qtbase/+/458413), is this issue solved?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I could solve pretty much this exact issue by adding the gles3 feature.
FTR: gles is deprecated on iOS https://developer.apple.com/library/archive/documentation/3DDrawing/Conceptual/OpenGLES_ProgrammingGuide/AdoptingOpenGLES3/AdoptingOpenGLES3.html, so it's correct to not put this into default features. |
Can you resolve conflicts? |
This adds support for building Qt with OpenGL ES 3.0, a necessity to build many OpenGL apps for iOS.
Implementation note
The implementation follows the way the GL ES features are structured in the
configure
script, namely by implyinggles2
and enablinggles3
only via a feature flag:Checklist
./vcpkg x-add-version --all
and committing the result.